<div id="page-heading">
	<h1>{$title}</h1>	
</div>
<table border="0" width="80%" cellpadding="0" cellspacing="0" id="product-table">
	<tr>
		<th colspan="2" align="left" class="table-header-repeat line-left"><img src="images/icons/add.png" />Add New</th>
	</tr>
        <tr>
		<td width="20%">Item Code</td>
		<td width="60%"><input type="text" name="item_code" id="item_code" value="" class="inp-form" style="width: 500px;" /></td>
	</tr>
	<tr>
		<td width="20%">Product Title</td>
		<td width="60%"><input type="text" name="product_title" id="product_title" value="" class="inp-form" style="width: 500px;" /></td>
	</tr>
	<tr>
		<td>Product Description (short)</td>
		<td>{$objeditorFCK->editorfck("productdesc_en", "{$product_arr[sec1].product_dsc_en}", "98%", 200)}</td>
	</tr>
        <tr>
		<td>Product Description (detail)</td>
		<td>{$objeditorFCK->editorfck("productdesc_detail", "{$product_arr[sec1].product_dsc_en}", "98%", 200)}</td>
	</tr>
	<tr>
		<td width="20%">Product Price</td>
		<td width="60%"><input type="text" name="product_price_lkr" id="product_price_lkr" value="" class="inp-form" style="width: 100px;" /></td>
	</tr>
	<tr>
		<td width="20%">Product Quantity</td>
		<td width="60%"><input type="text" name="product_qty" id="product_qty" value="" class="inp-form" style="width: 100px;" /></td>
	</tr>
	<tr>
		<td>Category</td>
		<td><select name="category" id="category" onchange="getSubCat(this.id)">
		<option value="">Select Category</option>
		{section name=sec1 loop=$cat_arr}
		<option value="{$cat_arr[sec1].cat_id}">{$cat_arr[sec1].cat_desc}</option>
		{/section}
		</select>
		</td>
	</tr>
	<tr>
		<td>Sub Category</td>
		<td>
			<div id="subcat_loader">
				<select name="subcat" id="subcat">
				<option value="">Sub Category</option>				
				</select>
			</div></td>
	</tr>	
	<tr>
		<td>Status</td>
		<td><select name="cmbStatus" id="cmbStatus">
		<option value="">Select Status</option>
		<option value="1">Show</option>
		<option value="0">Hide</option>
		</select>
		</td>
	</tr>
	<tr>
	<td>&nbsp;</td>
	<td><div class="edit-icoset"><a href="javascript: void(0);" onclick="saveProduct();"><img src="images/icons/save-2.gif" />Save</a></td>
	</tr>
</table>